<?php
namespace app\models;

use yii\db\ActiveRecord;

/**
 * 管理员角色
 *
 * Class ManagerRole
 * @package app\models
 *
 * @property integer $id
 * @property string $name
 * @property string $remark
 */
class ManagerRole extends ActiveRecord
{

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            ['name', 'required'],
            ['name', 'string', 'max'=>32],
            ['remark', 'safe'],
        ];
    }
}
